<?php 

	$menuItens = array(	"Not&iacute;cias"=> Util::getLink("/news/view"), 
						"Regras" => Util::getLink("/rules/view"),
						"Equipes" => Util::getLink("/team/view"),
						"Tabela" => Util::getLink("/result/view"),
						"Download" => Util::getLink("/download/view"),
						"Upload" => Util::getLink("/upload/view"),
						"Contato" => Util::getLink("/contact/view"),
						"Staff" => Util::getLink("/staff/view"));

	$lenght = sizeof($menuItens);
	$index = 0;
?>
<div id="menu">
			<ul>
<?php 	foreach( $menuItens as $label => $link ) { ?>
				<li>
					<a href="<?php echo $link; ?>">
<?php		if( $index == 0 ) { ?>			
						<span class="first"></span>
<?php 		} else { ?>
						<span class="left"></span>
<?php 		} ?>
						<span class="item"><?php echo $label; ?></span>
<?php 		if( $index == $lenght - 1 ) { ?>				
						<span class="last"></span>
<?php 		} else { ?>				
						<span class="right"></span>
<?php 		} ?>
					</a>
				</li>
<?php	
			$index = $index + 1;
		} 
?>
			</ul>
		</div>
		<div id="content"><?php echo "\n"; ?>